#ifndef    __BSP_COMMU_H__
#define    __BSP_COMMU_H__

#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>

typedef enum
{
    MQTT_SEND_STATE,
    MQTT_SEND_TRUE,
    MQTT_SEND_LANGUAGE,
    MQTT_SEND_REPEL_FACTORY_SETT,
    MQTT_SEND_FUMIGATE_FACTORY_SETT,
    MQTT_SEND_PUMP_NUM,
    MQTT_SEND_ION_CONCENTRATION,
    MQTT_SEND_FUMIGATE_SETT,
    MQTT_SEND_REPEL_TIME,
    MQTT_SEND_AROMA_TIME,
    MQTT_SEND_REMAINS,
    MQTT_SEND_REPEL_SETT,
    MQTT_SEND_AROMA_SETT,
    MQTT_SEND_BOTTLE_UNINSTALL,
    MQTT_CMD_ALL
}MQTT_PUB_QUEUE_ENUM_Typedef;



extern MQTT_PUB_QUEUE_ENUM_Typedef mqtt_pub_queue_enum;
extern MQTT_PUB_QUEUE_ENUM_Typedef *pMQTT_PUB_QUEUE_ENUM; //生崽


void MQTT_Send_bottle_uninstall(void);
void MQTT_Send_No_Fumigate_Medicine(void);
void MQTT_Send_No_Repel_Medicine(void);

void MQTT_cJSON_Data_Init(void);
void MQTT_REV_Driver_Task(void *parm);
void MQTT_PUB_Driver_Task(void *parm);

#endif